dy-lib=libmymath.so

$(dy-lib):Add.o Sub.o Mul.o Div.o
	gcc -shared -o   $@  $^
%.o:%.c
	gcc -FIPC  -c  $<
.PHONY:output
output:
	mkdir  -p mymath_lib/include
	mkdir  -p mymath_lib/lib
	cp -f *.h mymath_lib/include/
	mv -f *.so mymath_lib/lib/
	rm -rf *.o
.PHONY:clean
clean:
	rm -rf libmymath.a  mymath_lib *.so

